#define _CRT_SECURE_NO_WARNINGS 1

#include <stdio.h>
#include <assert.h>

char* strCpy(char* dest, const char* src)
{
	assert(dest && src);
	char* ret = dest;
	while (*dest++ = *src++);
	return ret;
}

int main()
{
	char dest[20] = { 0 };
	char src[] = "hello bit";
	printf("%s\n", strCpy(dest, src));
	return 0;
}